/*
 * Copyright (c) 2023 Cshoo Org. All Rights Reserved.
 */

package org.cshoo.tattoo.authorize.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author 杨翼
 * @since 1.0
 */
@Data
@ApiModel(value = "前端权限响应DTO")
public class FrontPermissionResp {

    @ApiModelProperty(value = "类型, 0为菜单，1为按钮")
    private Integer type;

    @ApiModelProperty(value = "前端权限孩子节点")
    private List<FrontPermissionResp> children;

}
